package com.quanyan.runningriding.entity.vo.run;

import com.quanyan.common.validation.base.Insert;
import com.quanyan.common.validation.base.Update;

import javax.validation.constraints.NotNull;

/**
 * MusicTypeVo
 *
 * @author Tu Chun
 * @date 2016/9/24
 */
public class MusicTypeVo {
    @NotNull(groups = {Insert.class, Update.class})
    private Byte type;

    private String typeName;

    private Double minPace;

    private Double maxPace;


    private Integer minCadence;

    private Integer maxCadence;

    private String describeDetail;

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Integer getMinCadence() {
        return minCadence;
    }

    public void setMinCadence(Integer minCadence) {
        this.minCadence = minCadence;
    }

    public Integer getMaxCadence() {
        return maxCadence;
    }

    public void setMaxCadence(Integer maxCadence) {
        this.maxCadence = maxCadence;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getMinPace() {
        return minPace;
    }

    public void setMinPace(Double minPace) {
        this.minPace = minPace;
    }

    public Double getMaxPace() {
        return maxPace;
    }

    public void setMaxPace(Double maxPace) {
        this.maxPace = maxPace;
    }

    public String getDescribeDetail() {
        return describeDetail;
    }

    public void setDescribeDetail(String describeDetail) {
        this.describeDetail = describeDetail;
    }
}
